package ms.utils;

import java.util.ArrayList;

public class EventListImpl<T> extends ArrayList<IEvent<T>> implements IEventList<T> {

	private static final long serialVersionUID = 1L;
	
	public void fire(Object sender, T arg) {
		for (IEvent<T> r : this)
			if (r != null)
				r.run(sender, arg);
	}
}
